package nero.yncc.com.createart.bean;

import java.util.List;

/**
 * Created by nero on 17-6-28.
 */

public class BeanAttr {
    // "name": "颜色",
//         "item": [
//    {
//        "name": "黑色",
//            "href": "/index.php/Api/Goods/goodsList/id/0/spec/32_141",
//            "id": 1
//    },
//    {
//        "name": "红色",
//            "href": "/index.php/Api/Goods/goodsList/id/0/spec/32_142",
//            "id": 2
//    },
    String name;
    List<BeanAttrIn> item;
    String chooseName;

    public String getChooseName() {
        return chooseName;
    }

    public void setChooseName(String chooseName) {
        this.chooseName = chooseName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<BeanAttrIn> getItem() {
        return item;
    }

    public void setItem(List<BeanAttrIn> item) {
        this.item = item;
    }

    public class BeanAttrIn {
        String name, href, id;
        boolean isChoose;

        public boolean isChoose() {
            return isChoose;
        }

        public void setChoose(boolean choose) {
            isChoose = choose;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getHref() {
            return href;
        }

        public void setHref(String href) {
            this.href = href;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }
}
